package com.itheima.dao;

import com.itheima.pojo.Admin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface AdminMapper extends Mapper<Admin> {
    @Select("select uid from t_admin where user_name=#{username}")
    String selectByName(@Param("username") String username);
}
